.lucky_main_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
	display:none;
}
.lucky_main{
	max-width: 720px;
	min-width: 320px;
	width: 100%;
	margin: auto;
	position: fixed;
	top:0;
	left:0;
	right:0;
	z-index:3000;
	
	
}


//xiugai
@keyframes gongxi
{
	0%{
		transform: rotate(20deg);
		-ms-transform: rotate(20deg);		/* IE 9 */
		-webkit-transform: rotate(20deg);	/* Safari and Chrome */
		-o-transform: rotate(20deg);		/* Opera */
		-moz-transform: rotate(20deg);		/* Firefox */
		transform-origin:50% 0%;
	}
	25%{
		transform: rotate(0deg);
		-ms-transform: rotate(0deg);		/* IE 9 */
		-webkit-transform: rotate(0deg);	/* Safari and Chrome */
		-o-transform: rotate(0deg);		/* Opera */
		-moz-transform: rotate(0deg);		/* Firefox */
		transform-origin:50% 0%;
	}
	50%{
		transform: rotate(-20deg);
		-ms-transform: rotate(-20deg);		/* IE 9 */
		-webkit-transform: rotate(-20deg);	/* Safari and Chrome */
		-o-transform: rotate(-20deg);		/* Opera */
		-moz-transform: rotate(-20deg);		/* Firefox */
		transform-origin:50% 0%;
	}
	75%{
		transform: rotate(0deg);
		-ms-transform: rotate(0deg);		/* IE 9 */
		-webkit-transform: rotate(0deg);	/* Safari and Chrome */
		-o-transform: rotate(0deg);		/* Opera */
		-moz-transform: rotate(0deg);		/* Firefox */
		transform-origin:50% 0%;
	}
	100%{
		transform: rotate(20deg);
		-ms-transform: rotate(20deg);		/* IE 9 */
		-webkit-transform: rotate(20deg);	/* Safari and Chrome */
		-o-transform: rotate(20deg);		/* Opera */
		-moz-transform: rotate(20deg);		/* Firefox */
		transform-origin:50% 0%;
	}
}


.lucktop{
	text-align: center;
	margin-top: 2rem;
	position: relative;
	padding-bottom: 5rem;
	.l1{
		width: 14rem;
	}
	.gong{
		position: absolute;
		top: 2rem;
		left: 50%;
		width: 5rem;
		margin-left: -2.5rem;
		animation: gongxi 2.7s linear infinite;
		transform: rotate(20deg);
		-ms-transform: rotate(20deg);		/* IE 9 */
		-webkit-transform: rotate(20deg);	/* Safari and Chrome */
		-o-transform: rotate(20deg);		/* Opera */
		-moz-transform: rotate(20deg);		/* Firefox */
		transform-origin:50% 0%;
	}
}
@media(max-width:320px ) {
	html{
		font-size: 14px;
	}
}
.luckmain{

	text-align: center;
	/*margin-top: 1rem;*/
	position: relative;
	.bg{
		width: 95%;
		z-index: 111;
		max-width: 550px;
		position: relative;
	}
	.guang{
		position: absolute;
		width: 150%;
		position: absolute;
		left: -25%;
		top: -25%;
		z-index: 100;
		@media(min-width:550px ) {
			width:830px;
			left: 50%;
			margin-left: -415px;
		}
	}
	.lmf{
		position: absolute;
		top: 54%;
		width: 60%;
		left: 17.5%;
		z-index: 112;
		padding:0 0.5rem;
		box-sizing:border-box;
		@media(min-width:550px ) {
			width:300px;
			left: 47.5%;
			top: 56%;
			margin-left: -150px;
		}
		p{
			color: #FFFDBA;
			font-size: 1.3rem;
			overflow: hidden;
		    text-overflow: ellipsis;
		    white-space:nowrap;
			&.name{
				line-height: 1.8rem;
				height: 1.8rem;
				overflow: hidden;

			}
			&.val{
				color: #fff;
				font-size: 1.2rem;
				span{
					font-size: .4rem;
					color: #fffdba;
				}
				i{
					font-size: 1.8rem;
					color: #fffdba;
				}
			}
		}
		.g_image{
			display: inline-block;
			vertical-align: middle;
			border-radius:100%;
			margin-top:0.5rem;
			width:3.4rem;
			height:3.4rem;
		}
		@media(max-width:349px ) {
			p{
				&.val{
					font-size: 1rem;
					span{
						font-size: .4rem;
					}
					i{
						font-size: 1.5rem;
					}
				}
			}
			.g_image{
				margin-top:0.3rem;
			}
		}
	}
}
